<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
</head>
<body>
	<script type="text/javascript">
		function Toast(){
			if(!Toast.obj){	//不能使用this
				Toast.obj = {
					id : "121",
					name : "jiujiu"
				}
			}
			return Toast.obj;
		}
		console.log(new Toast() == new Toast())
	</script>
</body>
</html>